function handleEdit() {
    let name = mc.value;
    let price = dj.value;

    $.ajax({
        url: '/goods/edit',
        data: {name, price},
        success(response) {
            if(response == true) {
                alert("商品添加成功！");
            }else {
                alert("商品添加失败。");
            }
        },
    });
}
